/* 
 *  javascribd - Java client library for the Scribd API. 
 *  Copyright (C) 2009 by Marcel Eyke, http://code.google.com/p/javascribd/ 
 *  Use is subject to license terms of LGPLv3. See license.txt. 
 */
package com.google.code.javascribd.connection;

public class ScribdConnectionException extends Exception {

	private static final long serialVersionUID = 1L;

	private int responseCode;
	private String responseMessage;

	public ScribdConnectionException(int responseCode, String responseMessage) {
		super(responseCode + " - " + responseMessage);
		this.responseCode = responseCode;
		this.responseMessage = responseMessage;
	}

	public int getResponseCode() {
		return responseCode;
	}

	public String getResponseMessage() {
		return responseMessage;
	}
}
